package com.dingnate.framework.springmvn;

import java.util.Map;

public class GPModelAndView {
    String view;

    public GPModelAndView(String view) {
        this.view = view;
    }

    public GPModelAndView(String view, Map<String, Object> model) {
        this.view = view;
        this.model = model;
    }

    public String getView() {
        return view;
    }

    public GPModelAndView setView(String view) {
        this.view = view;
        return this;
    }

    public Map<String, Object> getModel() {
        return model;
    }

    public GPModelAndView setModel(Map<String, Object> model) {
        this.model = model;
        return this;
    }

    Map<String, Object> model;
}
